<html lang=<?php echo $config['lang']; ?>>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
    <style>
<?php include('global.css'); ?>
<?php include('post.css'); ?>
<?php if ( file_exists( "fix.css" ) ) { include( "fix.css" ); } ?>
    </style>
</head>
<body>
    <div class=info-box></div>
    <?php include('header.php'); ?>
    <main>
        <div class="post">
            <div class=post-img>
                <?php if ( !empty( $json['img'] ) ) echo "<img src='{$json['img']}'>"; ?>
            </div>
            <div class=post-panel>
                Панель с кнопками
            </div>
            <div class=post-title>
                <?php if ( !empty( $json['title'] ) ) echo "<h1>{$json['title']}</h1>"; ?>
            </div>
            <div class=post-text>
                <?php if ( !empty( $json['html'] ) ) echo "{$json['html']}"; ?>
            </div>
        </div>
    </main>
</body>
</html>